<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Order_sn')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-order_sn" class="form-control" disabled readonly name="row[order_sn]" type="text" value="{$row.order_sn|htmlentities}">
        </div>
    </div>
    <div class="form-group" style="display: none">
        <label class="control-label col-xs-12 col-sm-2">{:__('User_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-user_id" data-rule="required" disabled readonly data-source="user/user/index" data-field="nickname" class="form-control selectpage" name="row[user_id]" type="text" value="{$row.user_id|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Name')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-name" class="form-control" disabled readonly name="row[name]" type="text" value="{$row.name|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Id_card')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-id_card" class="form-control" disabled readonly name="row[id_card]" type="text" value="{$row.id_card|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Card_front_image')}:</label>
        <div class="col-xs-12 col-sm-8">
            <div class="input-group">
                <input id="c-card_front_image" class="form-control" size="50" name="row[card_front_image]" type="text" value="{$row.card_front_image|htmlentities}">
                <div class="input-group-addon no-border no-padding">
                    <span><button type="button" id="faupload-card_front_image" disabled readonly class="btn btn-danger faupload" data-input-id="c-card_front_image" data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp,image/webp" data-multiple="false" data-preview-id="p-card_front_image"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
                    <span><button type="button" id="fachoose-card_front_image" disabled readonly class="btn btn-primary fachoose" data-input-id="c-card_front_image" data-mimetype="image/*" data-multiple="false"><i class="fa fa-list"></i> {:__('Choose')}</button></span>
                </div>
                <span class="msg-box n-right" for="c-card_front_image"></span>
            </div>
            <ul class="row list-inline faupload-preview" id="p-card_front_image"></ul>
        </div>
    </div>

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Card_back_image')}:</label>
        <div class="col-xs-12 col-sm-8">
            <div class="input-group">
                <input id="c-card_back_image" class="form-control" size="50" name="row[card_back_image]" type="text" value="{$row.card_back_image|htmlentities}">
                <div class="input-group-addon no-border no-padding">
                    <span><button type="button" id="faupload-card_back_image" disabled readonly class="btn btn-danger faupload" data-input-id="c-card_back_image" data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp,image/webp" data-multiple="false" data-preview-id="p-card_back_image"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
                    <span><button type="button" id="fachoose-card_back_image" disabled readonly class="btn btn-primary fachoose" data-input-id="c-card_back_image" data-mimetype="image/*" data-multiple="false"><i class="fa fa-list"></i> {:__('Choose')}</button></span>
                </div>
                <span class="msg-box n-right" for="c-card_back_image"></span>
            </div>
            <ul class="row list-inline faupload-preview" id="p-card_back_image"></ul>
        </div>
    </div>

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Sex')}:</label>
        <div class="col-xs-12 col-sm-8">
                        
            <select  id="c-sex" class="form-control selectpicker" name="row[sex]" disabled readonly>
                {foreach name="sexList" item="vo"}
                    <option value="{$key}" {in name="key" value="$row.sex"}selected{/in}>{$vo}</option>
                {/foreach}
            </select>

        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Pinyin')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-pinyin" class="form-control" disabled readonly name="row[pinyin]" type="text" value="{$row.pinyin|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Oldname')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-oldname" class="form-control" disabled readonly name="row[oldname]" type="text" value="{$row.oldname|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Birthday')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-birthday" class="form-control  datetimepicker" disabled readonly data-date-format="YYYY-MM-DD" data-use-current="true" name="row[birthday]" type="text" value="{$row.birthday}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Minzu')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-minzu" class="form-control" disabled readonly name="row[minzu]" type="text" value="{$row.minzu|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Jiguan')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-jiguan" class="form-control" disabled readonly name="row[jiguan]" type="text" value="{$row.jiguan|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Last_image')}:</label>
        <div class="col-xs-12 col-sm-8">
            <div class="input-group">
                <input id="c-last_image" class="form-control" size="50" name="row[last_image]" type="text" value="{$row.last_image|htmlentities}">
                <div class="input-group-addon no-border no-padding">
                    <span><button type="button" id="faupload-last_image" disabled readonly class="btn btn-danger faupload" data-input-id="c-last_image" data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp,image/webp" data-multiple="false" data-preview-id="p-last_image"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
                    <span><button type="button" id="fachoose-last_image" disabled readonly class="btn btn-primary fachoose" data-input-id="c-last_image" data-mimetype="image/*" data-multiple="false"><i class="fa fa-list"></i> {:__('Choose')}</button></span>
                </div>
                <span class="msg-box n-right" for="c-last_image"></span>
            </div>
            <ul class="row list-inline faupload-preview" id="p-last_image"></ul>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Mianmao')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-mianmao" class="form-control"  disabled readonly name="row[mianmao]" type="text" value="{$row.mianmao|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Xueli')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-xueli" class="form-control" disabled readonly name="row[xueli]" type="text" value="{$row.xueli|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Major')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-major" class="form-control" disabled readonly name="row[major]" type="text" value="{$row.major|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('School')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-school" class="form-control"  disabled readonly name="row[school]" type="text" value="{$row.school|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Biye_school')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-biye_school" class="form-control" disabled readonly name="row[biye_school]" type="text" value="{$row.biye_school|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Comeinschool')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-comeinschool" class="form-control" disabled readonly name="row[comeinschool]" type="text" value="{$row.comeinschool|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Address')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-address" class="form-control" name="row[address]" disabled readonly type="text" value="{$row.address|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Youbian')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-youbian" class="form-control" disabled readonly name="row[youbian]" type="text" value="{$row.youbian|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Mobile')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-mobile" class="form-control" disabled readonly name="row[mobile]" type="text" value="{$row.mobile|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('School_url')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-school_url" class="form-control" disabled readonly name="row[school_url]" type="text" value="{$row.school_url|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Chuanzhen')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-chuanzhen" class="form-control" disabled readonly name="row[chuanzhen]" type="text" value="{$row.chuanzhen|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Email')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-email" class="form-control" disabled readonly name="row[email]" type="text" value="{$row.email|htmlentities}">
        </div>
    </div>
    <div class="form-group" style="display: none">
        <label class="control-label col-xs-12 col-sm-2">{:__('User_check_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-user_check_id" data-rule="required"  disabled readonly data-source="user/check/index" class="form-control selectpage" name="row[user_check_id]" type="text" value="{$row.user_check_id|htmlentities}">
        </div>
    </div>
    <div class="form-group" style="display: none">
        <label class="control-label col-xs-12 col-sm-2">{:__('Courses_category_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-courses_category_id" data-rule="required" disabled readonly data-source="courses/category/index" class="form-control selectpage" name="row[courses_category_id]" type="text" value="{$row.courses_category_id|htmlentities}">
        </div>
    </div>
    <div class="form-group" style="display: none">
        <label class="control-label col-xs-12 col-sm-2">{:__('Mechanism_category_topid')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-mechanism_category_topid" data-rule="required" disabled readonly class="form-control" name="row[mechanism_category_topid]" type="number" value="{$row.mechanism_category_topid|htmlentities}">
        </div>
    </div>
    <div class="form-group" style="display: none">
        <label class="control-label col-xs-12 col-sm-2">{:__('Mechanism_category_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-mechanism_category_id" data-rule="required" data-source="mechanism/category/index" class="form-control selectpage" name="row[mechanism_category_id]" type="text" value="{$row.mechanism_category_id|htmlentities}">
        </div>
    </div>
    <div class="form-group" style="display: none">
        <label class="control-label col-xs-12 col-sm-2">{:__('Mechanism_category_zhuanye')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-mechanism_category_zhuanye" class="form-control" name="row[mechanism_category_zhuanye]" type="text" value="{$row.mechanism_category_zhuanye|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Mechanism_category_jibie')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-mechanism_category_jibie" disabled readonly class="form-control" name="row[mechanism_category_jibie]" type="text" value="{$row.mechanism_category_jibie|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('User_check_name')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-user_check_name"  disabled readonly class="form-control" name="row[user_check_name]" type="text" value="{$row.user_check_name|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Examination_message_name')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-examination_message_name" disabled readonly class="form-control" name="row[examination_message_name]" type="text" value="{$row.examination_message_name|htmlentities}">
        </div>
    </div>
    <div class="form-group"style="display: none">
        <label class="control-label col-xs-12 col-sm-2">{:__('Examination_message_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-examination_message_id" data-rule="required" data-source="examination/message/index" class="form-control selectpage" name="row[examination_message_id]" type="text" value="{$row.examination_message_id|htmlentities}">
        </div>
    </div>
    <div class="form-group" style="display: none">
        <label class="control-label col-xs-12 col-sm-2">{:__('Examination_mechanismplan_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-examination_mechanismplan_id" data-rule="required" data-source="examination/mechanismplan/index" class="form-control selectpage" name="row[examination_mechanismplan_id]" type="text" value="{$row.examination_mechanismplan_id|htmlentities}">
        </div>
    </div>
    <div class="form-group" >
        <label class="control-label col-xs-12 col-sm-2">{:__('Time')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-time" class="form-control datetimepicker" disabled readonly data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[time]" type="text" value="{:$row.time?datetime($row.time):''}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('End_time')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-end_time" class="form-control datetimepicker" disabled readonly data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[end_time]" type="text" value="{:$row.end_time?datetime($row.end_time):''}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Paytype')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-paytype" data-rule="required" class="form-control" disabled readonly name="row[paytype]" type="text" value="{$row.paytype|htmlentities}">
        </div>
    </div>
    <div class="form-group" style="display: none">
        <label class="control-label col-xs-12 col-sm-2">{:__('Method')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-method" class="form-control"  name="row[method]" type="text" value="{$row.method|htmlentities}">
        </div>
    </div>
    <div class="form-group" style="display: none">
        <label class="control-label col-xs-12 col-sm-2">{:__('Transactionid')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-transactionid" class="form-control" name="row[transactionid]" type="text" value="{$row.transactionid|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Paytime')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-paytime" min="0" disabled readonly class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[paytime]" type="text" value="{:$row.paytime?datetime($row.paytime):''}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Paystate')}:</label>
        <div class="col-xs-12 col-sm-8">
            
            <div class="radio">
            {foreach name="paystateList" item="vo"}
            <label for="row[paystate]-{$key}"><input id="row[paystate]-{$key}" name="row[paystate]" type="radio" value="{$key}" {in name="key" value="$row.paystate"}checked{/in} /> {$vo}</label> 
            {/foreach}
            </div>

        </div>
    </div>

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Price')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-price" data-rule="required" class="form-control" step="0.01" name="row[price]" type="number" value="{$row.price|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Step')}:</label>
        <div class="col-xs-12 col-sm-8">
                        
            <select  id="c-step" data-rule="required" class="form-control selectpicker" name="row[step]">
                {foreach name="stepList" item="vo"}
                    <option value="{$key}" {in name="key" value="$row.step"}selected{/in}>{$vo}</option>
                {/foreach}
            </select>

        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Courses_category_name')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-courses_category_name" data-rule="required" class="form-control" name="row[courses_category_name]" type="text" value="{$row.courses_category_name|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('审核意见')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-remark" data-rule="required" class="form-control"  name="row[remark]" type="text" value="{$row.remark|htmlentities}">

        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('考试结束时间')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-exam_end_time" class="form-control datetimepicker" disabled readonly data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[exam_end_time]" type="text" value="{:$row.exam_end_time?datetime($row.exam_end_time):''}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('试卷总分')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-total_score" data-rule="required" class="form-control"  name="row[total_score]" type="text" value="{$row.total_score|htmlentities}">

        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('及格线')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-pass_score" data-rule="required" class="form-control"  name="row[pass_score]" type="text" value="{$row.pass_score|htmlentities}">

        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('得分')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-score" data-rule="required" class="form-control"  name="row[score]" type="text" value="{$row.score|htmlentities}">

        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('证书')}:</label>
        <div class="col-xs-12 col-sm-8">
            <div class="input-group">
                <input id="c-zhengshu_image" class="form-control" size="50" name="row[zhengshu_image]" type="text" value="{$row.zhengshu_image|htmlentities}">
                <div class="input-group-addon no-border no-padding">
                    <span><button type="button" id="faupload-zhengshu_image" disabled readonly class="btn btn-danger faupload" data-input-id="c-card_back_image" data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp,image/webp" data-multiple="false" data-preview-id="p-zhengshu_image"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
                    <span><button type="button" id="fachoose-zhengshu_image" disabled readonly class="btn btn-primary fachoose" data-input-id="c-card_back_image" data-mimetype="image/*" data-multiple="false"><i class="fa fa-list"></i> {:__('Choose')}</button></span>
                </div>
                <span class="msg-box n-right" for="c-card_back_image"></span>
            </div>
            <ul class="row list-inline faupload-preview" id="p-zhengshu_image"></ul>
        </div>
    </div>

</form>
